#!/usr/bin/env bash

git pull
mvn -DskipTests -P production clean package



echo "deploying ytx account login"

kill -9 $(lsof -ti tcp:2080)
cp -rf ytx-account-login/target/ytx-account-login-1.0.0-SNAPSHOT.jar  /home/ytx/deploy/account/
/home/ytx/deploy/account/ytx-account-login-1.0.0-SNAPSHOT.jar &

